package cn.akwangl.design.pattern.behavioral.observerpattern.v2;

/**
 * 观察者模式v2
 *
 * @author youyongkun
 * @date 2021/12/6 16:12
 */
public class RMBrate extends Rate {
    @Override
    public void change(int number) {
        companyList.forEach(c -> c.response(number));
    }
}
